<div class="admin">
    <form method="post" name="myform" id="myform">
        <div class="panel admin-panel">
            <div class="panel-head"><strong>导航栏列表</strong></div>
            <div class="padding border-bottom">
                <a href="{:U('add')}" class="button button-small border-green">添加导航栏</a>
            </div>
            <table class="table table-hover">
                <tr>
                    <th width="80">排序</th>
                    <th>导航栏名称</th>
                    <th>导航栏地址</th>
                    <th width="100">是否显示</th>
                    <th width="180">操作</th>
                </tr>
                <foreach item='v' name='list'>
                    <tr>
                        <td>{$v['sn_id']}</td>
                        <td>{$v['sn_title']}</td>
                        <td>{$v['sn_url']}</td>
                        <td class="td-status"><span class="button bg-green button-little">已发布</span></td>
                        <td class="f-14 td-manage">
                            <a class="button bg-blue button-little" href="{:U('edit',array('sn_id'=>$v['sn_id']))}" title="编辑"><i class="icon-edit"></i>编辑</a>
                            <a class="button bg-red button-little js-del" data="{$v['sn_id']}"  href="javascript:;" title="删除"><i class="icon-minus-circle"></i>删除</a>
                        </td>
                    </tr>
                </foreach>
            </table>
            <div class="panel-foot text-center">
                <div class="pages">
                {$page}
                </div>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript">
    $('#myform').layer({
        actionUrl: "batchAction",
        deleteUrl: "del",
    });
</script>